const adminApi = require('./admin')
const commonApi = require('./common')
const wechatApi = require('./wechat')

// 版本 迭代 V1
const v1 = async function (fastify, opts) {
  fastify.register(commonApi)
  fastify.register(wechatApi)
  fastify.register(adminApi)
}

module.exports = {
  v1,
}
